Northwoods.GoSilverlight 1.3.5 Assembly
DoNodeKeyChanged Method
See Also  Send Feedback
Northwoods.GoXam.Model Namespace > GraphLinksModel<NodeType,NodeKey,PortKey,LinkType> Class : DoNodeKeyChanged Method

nodedata
This should be called when a node data's key value may have changed.

Syntax

Visual Basic (Declaration) 
Public Sub DoNodeKeyChanged( _
   ByVal nodedata As NodeType _
) 
C# 
public void DoNodeKeyChanged( 
   NodeType nodedata
)

Parameters

nodedata

Remarks

This is used for model update, when the model data has changed and the model itself needs to be updated to reflect those changes.

If a node data object implements System.ComponentModel.INotifyPropertyChanged and if the key is a simple property on the data as reflected by the value of NodeKeyPath, the model will automatically call this method. Otherwise, you need to do so immediately after the value of FindKeyForNode has changed.

This raises a Changed event with a value of ModelChange.ChangedNodeKey.

Requirements

See Also

© 2012 All Rights Reserved.